package com.zr.service.impl;

import com.zr.dto.staff.StaffDetailInfoRequest;
import com.zr.entity.Staff;
import com.zr.mapper.StaffMapper;
import com.zr.service.SendEmailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author
 * @create
 */
@Service
public class SendEmailServiceImpl implements SendEmailService {

    @Autowired
    StaffMapper staffInfoMapper;

    @Override
    public Staff getEmailInfoById(StaffDetailInfoRequest emailRequest) {
        return staffInfoMapper.getInfoById(emailRequest);
    }
}
